<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>后台管理</title>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/common.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/css/main.css"/>
    <script type="text/javascript" src="__PUBLIC__/Admin/js/libs/modernizr.min.js"></script>
    <script src="__PUBLIC__/Admin/js/libs/jquery.js"></script>
    <script src="__PUBLIC__/Admin/js/libs/list.js"></script>
    <script src="__PUBLIC__/Admin/js/libs/allDel.js"></script>
</head>
<body>
{:W("Public/topShow")}
<div class="container clearfix">
    {:W("Public/sideShow")}
    <!--/sidebar-->
    <div class="main-wrap">
      
        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="{:U('RecoveryType/index')}">首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">友情连接管理</span></div>
        </div>
        <div class="result-wrap">
            <form action="__CONTROLLER__/delFriendLink" method="post">
                <div class="result-title">
                    <div class="result-list">
                        <a href="__CONTROLLER__/addFriendLink"><i class="icon-font"></i>新增链接</a>
                        <a id="batchDel" href="__CONTROLLER__/delRecovery"><input type="submit" class="delete3"><i class="icon-font"></i>批量删除</a>
                    </div>
                </div>
                <div class="result-content">
                    <table class="result-tab" width="100%">
                        <tr>
                            <th class="tc" width="5%"><input class="allChoose" name="" type="checkbox"></th>
                            <th>ID</th>
                            <th>链接名称</th>
                            <th>链接地址</th>
                            <th>缩略图</th>
                            <th>操作</th>
                        </tr>
                        <foreach name="friendlink" item="friendlink">
                        <tr  class="userChoose">
                            <td class="tc"><input name="id[]" value="{$friendlink.id}" type="checkbox"></td>
                            <td>{$friendlink.id}</td>
                            <td>{$friendlink.linkname}</td>
                            <td>{$friendlink.linkaddress}</td>
                            <td><img src="{$friendlink.image}" alt="无图" height="40px" width="100px"></td>
                            <td>
                                <a class="link-update" href="__CONTROLLER__/modFriendLink?id={$friendlink.id}">修改</a>
                                <a class="link-del" href="__CONTROLLER__/delFriendLink?id={$friendlink.id}">删除</a>
                            </td>
                        </tr>
                        </foreach>
                    </table>
                    <div class="list-page">{$page}</div>
                </div>
            </form>
        </div>
    </div>
    <!--/main-->
</div>
</body>
</html>
